package unamur.iodass.servlets;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import unamur.iodass.beans.Client;
import unamur.iodass.communication.messages.Book;



public class Confirmation extends HttpServlet {

	public static final String VUE              = "/WEB-INF/confirmation.jsp";
	@Override
	public void doGet( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException {
		/*
		HttpSession session = request.getSession();
		Book book = (Book) session.getAttribute("book");
		Client client = (Client) session.getAttribute("client");
		request.setAttribute("book",book);
		request.setAttribute("client",client);
		*/
		this.getServletContext().getRequestDispatcher(VUE).forward( request, response );
		
	}

	@Override
	public void doPost( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException {

	}
}
